package cc.wsyw126.java.pattern;

public class ZhiWenMode {
	private ZhiWenMode(){
		
	}
	private static ZhiWenMode zhiwen;
	static {
		System.out.println("out calss");
	}
	static class inClass{
		static {
			System.out.println("in calss");
		}
		static ZhiWenMode zhiwen = new ZhiWenMode();
	}

	public static ZhiWenMode getZhiWen(){
		System.out.println("==============");
		return inClass.zhiwen;
	}

}
